<%@ page language="java" pageEncoding="UTF-8" %>
<%@ include file="/globe.inc" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>大商电器服务代理平台</title>
    <style type="text/css">
        body {
            margin: 0;
            font-family: Arial, Helvetica, sans-serif, "宋体";
            font-size: 12px;
            margin-bottom: 0px;
        }
        table {
            border-spacing: 0px;
        }

        #rc {
            background: url(image/rbg.png) no-repeat;
            width: 21px;
            height: 24px;
        }

        #lc {
            background: url(image/lbg.png) no-repeat;
            width: 270px;
            height: 24px;
        }

        #logo {
            background: url(image/logo.png) no-repeat;
            height: 32px;
        }

        #upanel {
            background: url(image/userbg.png) no-repeat;
            width: 177px;
            height: 28px;
            text-align: center;
            color: #FFFFFF;
            padding-top: 5px;
        }

        #lbo {
            background: url(image/tbombg.png) no-repeat;
            width: 270px;
            height: 8px;
        }

        #tnavibg {
            background: url(image/tnavibg.png) repeat-x;
            width: 830px;
        }

        #tt {
            background: url(image/ttbg.png) repeat-x;
            width: 735px;
        }

        #lbc {
            background: url(image/tbbg.png) repeat-x;
        }

        #trc {
            background: url(image/trcbg.png) no-repeat;
        }

        #rcc {
            background: url(image/rcbg.png) repeat-y;
        }

        #time {
            color: #FFFFFF;
            text-align: center;
        }

        #rr {
            background: url(image/rr.png) no-repeat;
        }
    </style>
    <script type="text/javascript">
        var wek = [ "天", "一", "二", "三", "四", "五", "六" ];
        var date = new Date();
        var year = date.getFullYear();
        var month = date.getMonth() + 1;
        var day = date.getDate();
        var week = date.getDay();

        function onExit() {
            document.forms[0].action = "exit.do";
            document.froms[0].submit();
        }
    </script>
</head>
<body>
<div id="wrappage">
    <table border="0" cellpadding="0">
        <tr>
            <td>
                <table cellpadding="0">
                    <tbody>
                    <tr>
                        <td id="lc"></td>
                        <td id="tt" rowspan="2" valign="bottom">
                            <form action="ss" method="post">
                                <table cellpadding="0"
                                       style="margin-bottom: 5px; width: 600px" align="right">
                                    <tbody>
                                    <tr>
                                        <td width="61px">
                                            <input type="image" src="image/index.png"/>
                                        </td>
                                        <td width="61px">
                                            <input type="image" src="image/exit.png"
                                                   onclick="onExit();"/>
                                        </td>
                                        <td width="61px">
                                            <input type="image" src="image/userinfo.png"/>
                                        </td>
                                        <td>
                                            <div id="time">
                                                今天是 :
                                                <script type="text/javascript">
                                                    document.write(year + "年" + month + "月" + day + "日 星期" + wek[week])
                                                </script>
                                            </div>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                            </form>
                        </td>
                        <td id="rc"></td>
                    </tr>
                    <tr>
                        <td id="logo"></td>
                        <td id="rcc"></td>
                    </tr>
                    <tr>
                        <td id="lbo"></td>
                        <td id="lbc"></td>
                        <td id="trc"></td>
                    </tr>
                    </tbody>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <table width="100%" cellpadding="0">
                    <tbody>
                    <tr>
                        <td id="upanel">
                            当前用户:${USER.loginName }
                        </td>
                        <td id="tnavibg">
                        </td>
                        <td id="rr">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </td>
        </tr>
    </table>
</div>

</body>
</html>
